package com.softeem.springboot04.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.softeem.springboot04.entity.User;
import com.softeem.springboot04.vo.R;

public interface IUserService extends IService<User> {

    /**
     * 登录
     * @param user
     * @return
     */
    R login(User user);

    /**
     * 注册
     * @param user
     * @return
     */
    R reg(User user);
}
